package com.hmall.user.interceptor;


import feign.RequestInterceptor;
import org.springframework.stereotype.Component;

@Component
public class MyInterceptor implements RequestInterceptor {

    @Override
    public void apply(feign.RequestTemplate requestTemplate) {
        requestTemplate.header("authorization", "2");
    }
}
